<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<meta charset="UTF-8">
	<title>中心简介</title>
	<link rel="shortcut icon" href="../favicon.ico"  type="image/x-icon"/>
	<link rel="stylesheet" href="/css/normalize.css" />
	<link rel="stylesheet" href="/css/base.css" />
	<link rel="stylesheet" href="/css/common.css" />
	<link rel="stylesheet" href="/css/center_introduce.css">
	<link rel="stylesheet" href="/css/footer.css">

	<style>
		.iframe {
			/*style="margin-bottom: 50px;" width="800" height="600" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="yes" allowtransparency="yes";*/
			margin-bottom: 50px;
			width: 100%;
			height: 600px;
			/*frameborder:no;*/
			frameborder:"0";
			border: 0;
			marginwidth:0;
			marginheight:0;
			scrolling:yes;
			allowtransparency:yes;
		}
	</style>
</head>
<body>
	<!-- 顶部开始 -->
	<div class="imin_top">
		<div class="w top_inner">
			<img src="/images/logo.png">
			<div class="fl">
				<p class="top_left_up">深圳市不动产登记中心</p>
				<p class="top_left_down">Shenzhen Real Estate Registration Center</p>
			</div>
			<p class="top_right" id="now_date"></p>
		</div>
	</div>
	<!-- 顶部结束 -->

	<!-- 导航模块开始 -->
	<div class="nav">
		<div class="w">
			<ul>
				<li class="nav_current">
					<a href="/api/user/index">首页</a>
				</li>
				<li th:each="cla:${classify}">
					<a href="#">[[${cla.claName}]]</a>
					<div class="erji">
						<a th:each="child:${cla.classifys}" th:href="@{${child.linkUrl}+'?pid='+${child.pid}+'&id='+${child.id}}">[[${child.claName}]]</a>
					</div>
				</li>
			</ul>
		</div>
	</div>
	<!-- 导航模块结束 -->

	<div class="common">
		<div class="w">

			<div class="fl common_l">
				<div class="common_l_div">
					<span>[[${pclass.claName}]]</span>
					<img src="/images/ic_arrow_down.png">
				</div>
				<ul>
					<li th:each="child:${childs}">
						<a th:href="@{${child.linkUrl}+'?pid='+${child.pid}+'&id='+${child.id}}">
							<div class="erji">
								<div class="point_4"></div>
								<span>[[${child.claName}]]</span>
							</div>
						</a>
					</li>
				</ul>
			</div>

			<div class="fl common_r">
				<div class="common_r_up">
					<p>[[${cclass.claName}]]</p>
					<ul>
						<li>
							<a href="javacript:void(0)">首页</a>
						</li>
						<li>
							<a href="javacript:void(0)">&nbsp;> [[${pclass.claName}]] >&nbsp;</a>
						</li>
						<li>
							<a href="javacript:void(0)">[[${cclass.claName}]]</a>
						</li>
					</ul>
				</div>
				<div class="cont">
					<div style="font-weight: bold;text-align: center;white-space: nowrap;margin-top: 30px" th:utext="${news.title}"></div>
					<div style="text-align: center;white-space: nowrap;margin: 16px 0 30px;color:gray;font-size: 14px;">
						<span>【来源：[[${news.dept.depName}]]】</span>
						<span style="margin-left: 10px;">【发布时间：[[${#dates.format(news.publishDate,'yyyy-MM-dd')}]]】</span>
					</div>
					<!--<div class="introduce" th:utext="${news.content}"></div>-->
					<!--<th:block th:if="${news.attachmentList !=null  && news.attachmentList.size() > 0 }">
						<iframe th:src= "${news.attachmentList.get(0).filePath + news.attachmentList.get(0).fileName + news.attachmentList.get(0).fileSuffix}"
								style="margin-bottom: 50px;" width="800" height="600" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="yes" allowtransparency="yes" />
					</th:block>
					<th:block th:if="${news.attachmentList !=null  && news.attachmentList.size() == 0 }">
						<div style="width: 800px;height: 500px;"></div>
					</th:block>-->

					<th:block th:if="${news !=null && news.filePath != null }">
						<iframe class = "iframe" th:src= "${news.filePath}"></iframe>
					</th:block>
				</div>
			</div>
		</div>
	</div>

	<!-- 底部栏开始 -->
	<div class="footer">
			<div class="copyright">
				<p class="footer_up">Shenzhen Real Estate Registration Center</p>
				<div class="footer_middle"><span>技术支持:管理部</span> <span class="footer_middle_span_r">电话:22382810/22382402</span></div>
				<p class="footer_down">copyright©2015深圳市不动产登记中心</p>
			</div>
	</div>
	<!-- 底部栏结束 -->
	<script src="/js/commons/jquery.js"></script>
	<script type="text/javascript">
		function getdates() {
			var w_array = new Array("星期天", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六");
			var d = new Date();
			var year = d.getFullYear();
			var month = d.getMonth() + 1;
			var day = d.getDate();
			var week = d.getDay();
			var h = d.getHours();
			var mins = d.getMinutes();
			var s = d.getSeconds();

			if (month < 10) month = "0" + month;
			if (day < 10) day = "0" + day;
			if (h < 10) h = "0" + h;
			if (mins < 10) mins = "0" + mins;
			if (s < 10) s = "0" + s;

			var shows = '今天是： <span>' + year + '年' + month + '月' + day + '日   '+w_array[week]  +'    '+h + ':' + mins + ':' + s +'</span>';
			document.getElementById("now_date").innerHTML = shows;
			setTimeout("getdates()",1000);
		}
		getdates();
	</script>
</body>
</html>